var e = require;
var t = module;
var o = exports;
Object.defineProperty(o, "__esModule", {value: !0});
var n = e("AdCenter"),
    a = e("ServerCenter"),
    i = e("sdkConfig"),
    r = (function () {
        function e() {
            this.appId = i.default.appId;
        }
        return (
            (e.prototype.initAd = function () {
                "" != this.appId
                    ? i.huaweiAdConfig.openHuaweiManualModel
                        ? qg.gameLoginWithReal({
                              forceLogin: 1,
                              appid: this.appId,
                              success: function (e) {
                                  console.log("ChaoQiGameSDK", "HW 登录成功：", JSON.stringify(e)),
                                      n.default.getInstance().huaweiManualModel();
                              },
                              fail: function (e, t) {
                                  console.log(
                                      "ChaoQiGameSDK",
                                      "HW 登录失败",
                                      JSON.stringify(e) + "," + JSON.stringify(t)
                                  ),
                                      n.default.getInstance().huaweiManualModel();
                              }
                          })
                        : this.startLogin()
                    : console.log("ChaoQiGameSDK", "请在SdkConfig.ts中填入appId return=================");
            }),
            (e.prototype.startLogin = function () {
                a.default.getInstance().getLocalStorageAdConfig();
            }),
            (e.prototype.loginSucc = function () {}),
            (e.prototype.SubmitPlayer = function () {}),
            (e.prototype.loginFail = function () {}),
            (e.prototype.mustLogin = function (e) {
                e(!1);
            }),
            e
        );
    })();
o.default = r;
